<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="Access-Control-Allow-Origin" content="*">
<!-- 	<link rel="stylesheet" href="./print.css" rel="external nofollow" type="text/css">
	<style type="text/css">
	  @import url("print.css") print;
	</style> -->
	<style>
		@media print {
			@page {
				size: 25.40cm 9.35cm;
				margin: 0cm;
				margin-left: 0.6cm;
				/* padding: 2cm; */
			}
			#printPage {
				width: 21.8cm;
			}
/* 			.th1 {
				width: 0.4cm;
			}
			.th2 {
				width: 2.3cm;
			}
			.th3 {
				width: 2.2cm;
			}
			.th4 {
				width: 1.5cm;
			}
			.th5 {
				width: 1.1cm;
			}
			.th6 {
				width: 0.9cm;
			}
			.th7 {
				width: 1.2cm;
			}
			.th8 {
				width: 0.7cm;
			}
			.th9 {
				width: 1.4cm;
			}
			.th10 {
				width: 1.8cm;
			}
			.th11 {
				width: 0.9cm;
			}
			.th12 {
				width: 2.0cm;
			}
			.th13 {
				width: 1.7cm;
			}
			.th14 {
				width: 1.9cm;
			}
			.th15 {
				width: 1.0cm;
			}
			.th16 {
				width: 0.4cm;
			} */
			body {
				margin: 0cm;
				/* margin-bottom: 2cm;
				padding: 6cm; */
			}
		}
		* {
			font-family: "宋体";
			font-size: 12px;
			padding: 0px;
		}
		table {
			/* border-spacing: 0px; */
			border-collapse: collapse;
			table-layout: fixed;
		}
		table, th, td {
			border: solid 1px black;
			font-weight: normal;
		}
		td {
			padding: 0 1px;
			vertical-align: top;
		}
		input{
		    border-bottom: 1px solid #000;
		    border-top: 0px;
		    border-left: 0px;
		    border-right: 0px;
		}
	</style>
    <title>河北恒天医药有限公司随货同行</title>
</head>
<body>
	<!--startprint-->
	<div id="printPage">
		<div style="margin-top: 20px;">
			<span style="display: inline-block; margin-left: 635px;">发货日期：2020-04-16</span>
		</div>
		<div style="padding-left: 70px; margin-bottom: 7px;">
			<span>
				<input value="河北恒天医药有限公司随货同行" style=" vertical-align: text-bottom; width: 400px; letter-spacing: 2px; font-size: 20px !important;" /> 
			</span>
			<span>开票日期：2020年4月16日</span> 
			<span style="margin-left: 20px;">编号：BKP20200416-10000</span> 
		</div>
		<div style="margin-bottom: 3px;">
			<span style="display: inline-block; width: 250px;">购货单位：河北医科大学第三医院</span> 	
			<span style="display: inline-block; width: 146px;">对方联系人：陈学军</span>
			<span style="display: inline-block; width: 100px;"> 总件数：30件</span>
			<span style="display: inline-block; width: 200px;">总金额：131400.00元</span>
			<span style="display: inline-block;">第1页/共1页</span>
		</div>
		<table border="1">
		  <thead>
			<tr>
				<th rowspan="2" class="th1" style="width: 4px; text-align: end;">行号</th>
				<th rowspan="2" class="th2" style="width: 25px;">药品名称</th>
				<th rowspan="2" class="th3" style="width: 22px;">生产厂家/上<br>市许可持有人</th>
				<th rowspan="2" class="th4" style="width: 15px;">规格</th>
				<th rowspan="2" class="th5" style="width: 11px;">剂型</th>
				<th rowspan="2" class="th6" style="width: 9px;">包装</th>
				<th rowspan="2" class="th7" style="width: 12px;">数量</th>
				<th rowspan="2" class="th8" style="width: 7px;">单位</th>
				<th rowspan="2" class="th9" style="width: 14px;">单价</th>
				<th rowspan="2" class="th10" style="width: 18px;">金额</th>
				<th rowspan="2" class="th11" style="width: 9px;">件数</th>
				<th rowspan="1" class="th12" style="width: 20px;">批&nbsp;号</th>
				<th rowspan="1" class="th13" style="width: 19px;">有效期至</th>
				<th rowspan="2" class="th14" style="width: 19px;">批准文号</th>
				<th rowspan="2" class="th15" style="width: 9px;">仓库</th>
				<th rowspan="2" class="th16" style="width: 6px;">架<br>位</th>
			</tr>
			<tr>
				<th>查验码</th>
				<th>生产日期</th>
			</tr>
		  </thead>
		  
		  <tbody>
			<tr>
			  <td style="text-align: center;">1</td>
			  <td>复方醋酸那林格注射液</td>
			  <td>江苏正大丰海制药有限公司</td>
			  <td>250ml</td>
			  <td>注射剂</td>
			  <td>30</td>
			  <td>900</td>
			  <td style="text-align: center;">袋</td>
			  <td>146.000</td>
			  <td>131400.00</td>
			  <td>30.0</td>
			  <td>1912073</td>
			  <td>2021-11-31<br>2019-12-7</td>
			  <td>国药准字H20173334</td>
			  <td>常温库</td>
			  <td>1</td>
			</tr>
			<tr style="height: 28px;">
			  <td></td> <td></td>  <td></td>  <td></td>
			  <td></td> <td></td>  <td></td>  <td></td>
			  <td></td> <td></td>  <td></td>  <td></td>
			  <td></td> <td></td>  <td></td>  <td></td>
			</tr>
			<tr style="height: 28px;">
			  <td></td> <td></td>  <td></td>  <td></td>
			  <td></td> <td></td>  <td></td>  <td></td>
			  <td></td> <td></td>  <td></td>  <td></td>
			  <td></td> <td></td>  <td></td>  <td></td>
			</tr>
			<tr style="height: 28px;">
			  <td></td> <td></td>  <td></td>  <td></td>
			  <td></td> <td></td>  <td></td>  <td></td>
			  <td></td> <td></td>  <td></td>  <td></td>
			  <td></td> <td></td>  <td></td>  <td></td>
			</tr>
			
			<tr>
			  <td colspan="16">
				<div style="display: flex; align-items: flex-start; margin-top: 3px; margin-left: 3px;">
					<span style="display: inline-block; width: 323px;">无质量问题一个月后概不退换&nbsp;&nbsp;&nbsp;&nbsp;否</span>
					<span style="display: inline-block; width: 100px;">本页件数：30</span> 
					<span style="display: inline-block; width: 288px;">联系地址：石家庄市栾城区楼底镇东尹村村名委员<br>会对过</span> 
					<span style="display: inline-block; margin-left: 22px;">0311-8549693</span> 
				</div>
				<div style="display: flex; margin-bottom: 3px; margin-left: 3px;">
					<span style="display: inline-block; width: 323px;">大写总金额：拾叁万一千</span>
					<span style="display: inline-block; width: 154px;">本页金额：￥130212.00</span> 
					<span">收货地址：石家庄市自强路139路，石家庄市友谊北大街102号</span> 
				</div>
			  </td>
			</tr>
		  </tbody>
		</table>
		<div style="margin-top: 3px;">
			<div>
				<span style="display: inline-block;">白、蓝：财务联</span>  
				<span style="display: inline-block; margin-left: 8px;">红：随货通行</span>  
				<span style="display: inline-block; margin-left: 9px;">绿：出库联</span>  
				<span style="display: inline-block; margin-left: 9px;">黄：业务留存</span> 
			</div>
			<div style="margin-top: 3px;">
				<span style="display: inline-block;">开票人：赵利民</span>   
				<span style="display: inline-block; margin-left: 110px;">业务员：	</span>
				<span style="display: inline-block; margin-left: 95px;">出库人：	</span>
				<span style="display: inline-block; margin-left: 80px;">复核人：	</span>
				<span style="display: inline-block; margin-left: 60px;">提货人：	</span>
				<span style="display: inline-block; margin-left: 60px;">质量状况：合格</span>
			</div>
		</div>
	</div>
	<!--endprint-->
<button onclick="doPrint()">打印</button>
</body>
<!-- <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> -->
<script>
    function doPrint() {
        bdhtml=window.document.body.innerHTML;
        sprnstr="<!--startprint-->"; //开始打印标识字符串有17个字符
        eprnstr="<!--endprint-->"; //结束打印标识字符串
        prnhtml=bdhtml.substr(bdhtml.indexOf(sprnstr)+17); //从开始打印标识之后的内容
        prnhtml=prnhtml.substring(0,prnhtml.indexOf(eprnstr)); //截取开始标识和结束标识之间的内容
        window.document.body.innerHTML=prnhtml; //把需要打印的指定内容赋给body.innerHTML
		
	
        window.print(); //调用浏览器的打印功能打印指定区域
        window.document.body.innerHTML=bdhtml; // 最后还原页面
    }
</script>
</html>